//AlgorithmStrategy.cpp
#include "algorithmstrategy.h"
#include "algorithm.h"
#include <iostream>
using namespace std;

AlgorithmStrategy::AlgorithmStrategy(Algorithm* alg)
{
    _alg=alg;
}

AlgorithmStrategy::~AlgorithmStrategy()
{
    if(_alg)
        delete _alg;
}

void AlgorithmStrategy:: DPA_analyses()
{
    _alg->DPA_Function();
}

